import { defineStore } from 'pinia';
import { ref } from "vue";
export const useTotalPriceStore = defineStore('totalPrice', () => {
	const totalPrice = ref(0);
	function updateTotalPrice(newData){
		totalPrice.value = newData;
	}
	return { 
		totalPrice,
		updateTotalPrice
	};
});
